﻿using System.Web.Optimization;

namespace Pansoft.HIME.Site
{
    public class BundleConfig
    {
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/Library/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
                        "~/Scripts/Library/jquery-ui-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/Library/jquery.unobtrusive*",
                        "~/Scripts/Library/jquery.validate*"));

            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/Library/modernizr-*"));

            bundles.Add(new StyleBundle("~/CSS/Demo").Include("~/CSS/Demo.css"));
            bundles.Add(new StyleBundle("~/CSS/Page").Include("~/CSS/Page.*"));
        }
    }
}